/**
 * @filename:SwitchOrderListNotify 2020年07月01日
 * @project hotel-admin  V1.0
 * Copyright(c) 2020 Zhang·JZ Co. Ltd.
 * All right reserved.
 */
package hotel.switchs.oversea.api.entity.order;

import hotel.base.oversea.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Table;


/**
 * @Description:TODO(携程订单变更表-实时
根据携程接口获取对应订单信息变更数据存储
参考getdltordernot 实体类)
 *
 * @version: V1.0
 * @author: Zhang·JZ
 *
 */
@Data
@Table(name = "switch_order_list_notify")
public class SwitchOrderListNotify extends BaseEntity {

	private static final long serialVersionUID = 1593587238259L;



	@ApiModelProperty(name = "sysOrderState" , value = "系统订单状态(可根据情况添加) 0:正常(可进行操作) 1：已操作")
	private Integer sysOrderState;


	@ApiModelProperty(name = "dltOrderId" , value = "代理通订单id")
	private String dltOrderId;


	@ApiModelProperty(name = "orderId" , value = "销售方订单id")
	private String orderId;


	@ApiModelProperty(name = "channel" , value = "分销渠道")
	private String channel;


	@ApiModelProperty(name = "childChannel" , value = "分销子渠道")
	private String childChannel;


//	@DateTimeFormat(pattern = "yyyy-MM-dd")
//	@JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
	@ApiModelProperty(name = "updateTime" , value = "变更时间")
	private String updateTime;


//	@DateTimeFormat(pattern = "yyyy-MM-dd")
//	@JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
	@ApiModelProperty(name = "orderDate" , value = "下单时间")
	private String orderDate;


	@ApiModelProperty(name = "formType" , value = "订单类型            默认 N N-新订             M-修改             C-取消             D-延住             S-（新）无效             T-（改）无效")
	private String formType;


	@ApiModelProperty(name = "orderStatus" , value = "订单状态  参考SwitchChannelOrderStatusEnums.java  ")
	private String orderStatus;


//	@DateTimeFormat(pattern = "yyyy-MM-dd")
//	@JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
	@ApiModelProperty(name = "checkinDate" , value = "入住时间")
	private String checkinDate;


//	@DateTimeFormat(pattern = "yyyy-MM-dd")
//	@JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
	@ApiModelProperty(name = "checkoutDate" , value = "离店时间")
	private String checkoutDate;

	@ApiModelProperty(name = "isDeal" , value = "是否被处理toPool备注  0  否   1 是  2 失败")
	private Integer isDeal;

	@ApiModelProperty(name = "isDealRemark" , value = "被处理toPool备注")
	private String isDealRemark;

	@ApiModelProperty(name = "md5Key" , value = "Md5 唯一 Key      可根据各自场景来判断是否重复拉取")
	private String md5Key;


}
